home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ MSO2003 Task Pane 1.xpl < prev    next >
Text File  |  2004-01-17  |  2KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Program Options\Microsoft Office\MS Office 2003\Common"
  5. "NAME"="Task Pane Enforced Visibility"
  6. "VERSION"="1.00"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Enforce showing of Task Pane even if turned off"
  9. "DESCRIPTION 1"="Each Office program shows by default a "Task Pane" which will automatically show the tasks you can currently perform. Since this new Task Pane is a well-working feature of Office, an administrator can enforce the display of it.  
  10. "DESCRIPTION 2"="If this happens, the user can still turn off the Task Pane inside Options, but Office does not respect this setting and will show the Task Pane. 
  11. "DESCRIPTION 3"="Simply turn this setting on if the Task Pane should always be visible, regardless of the setting inside the Options dialog or turn it off to make sure the user can select for itself if it should be visible or not.
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.x-setup.net/"
  14. "COPYRIGHT"="Copyright ⌐ 2004 Xteq Systems"
  15. "COMMENT 1"=""
  16.  
  17.  
  18.      sV="HKCU\Software\Microsoft\Office\11.0\Common\General\DoNotDismissFileNewTaskPane"
  19. sV_Check="HKCU\Software\Microsoft\Office\11.0\"
  20.  
  21. Sub Plugin_Initialize 
  22.  if RegPathExists(sV_Check) then
  23.     i=RegReadValue(sV)
  24.     if i=1 then SetUIElement 1,true
  25.  else
  26.     Call Disable()
  27.  end if
  28. End Sub
  29.  
  30. Sub Plugin_CheckData(ElementIndex)
  31. End Sub
  32.  
  33. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  34.  b=GetUIElement(1)
  35.  if b=true then
  36.     Call RegWriteValue(sV,1,2)
  37.  else
  38.     if RegValueExists(sV) then Call RegDeleteValue(sV)
  39.  end if
  40. End Sub
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.  
  45.  
  46.  
  47.